package com.zhilehuo.service;

import com.github.pagehelper.PageInfo;
import com.zhilehuo.common.BaseResponse;
import com.zhilehuo.model.po.Paragraph;
import com.zhilehuo.model.vo.ParagraphVO;
import org.apache.ibatis.annotations.Param;

public interface IParagraphService {

    PageInfo<ParagraphVO> getParagraphsByArticleId(@Param("articleID")Integer articleID, Integer pageNum, Integer pageSize);

    void updateByPrimaryKeySelective(Paragraph paragraph);

    BaseResponse<String> updateFont(Integer font, Integer paragraphId);

}
